import com.example.domet.bean.Employ;
import com.example.domet.service.DeptService;
import com.example.domet.service.EmployService;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;

import java.util.List;

@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration("classpath:spring.xml")
public class sdasa {
    @Autowired
    DeptService DeptService;
    @Test
    public void a() {
        System.out.println(DeptService.bumenchaxun(1));

    }
    }
